-- GENERATED SPELL FOR [Elder Lake Skulker] --


function spell0_1954(pUnit, Event) --@Moss Covered Hands,n/a--
pUnit:FullCastSpellOnTarget(6866,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1954', 517, 1)
end

function spell1_1954(pUnit, Event) --@Wild Regeneration,Self--
pUnit:FullCastSpellOnTarget(9616,pUnit)
pUnit:RegisterEvent('Sorts_1954', 23000, 1)
end

function Sorts_1954(pUnit, Event)
local choix_sorts_1954 = math.random(0, 1)
if choix_sorts_1954 == 0 then
pUnit:RegisterEvent('spell0_1954', 1, 1)
end
if choix_sorts_1954 == 1 then
pUnit:RegisterEvent('spell1_1954', 1, 1)
end
end

function mob1954_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1954', math.random(1500, 3000), 1)
end

function mob1954_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1954_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1954_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1954, 1, 'mob1954_Action')
RegisterUnitEvent(1954, 2, 'mob1954_Leave')
RegisterUnitEvent(1954, 3, 'mob1954_Kill')
RegisterUnitEvent(1954, 4, 'mob1954_Die')
